package model.command;
import controller.KeyListeners.KeyListenerSet;
import model.playable.RallyPoint;
/**
 *
 * @author joseph
 */
public class BuildFarm extends Build{
    public BuildFarm(RallyPoint rallyPoint){
        super(rallyPoint);
    }
    @Override
    public BuildFarm clone() {
        return new BuildFarm(getRallyPoint());
    }
    @Override
    public void executeCommand() {
        ((Buildable)getRallyPoint()).buildFarm(getNumWorkers());
    }
    @Override
    public String toString(){
        return "Build Farm";
    }
}
